package cn.powerone.scm.service;

import java.io.IOException;
import java.util.List;
import cn.powerone.scm.domain.ScmInquiriesOut;
import cn.powerone.scm.pojo.bo.ScmInquiriesInOut;
import jakarta.servlet.http.HttpServletResponse;

/**
 * 供应商询价单Service接口
 * 
 * @author PowerOne
 * @date 2025-07-02
 */
public interface IScmInquiriesOutService 
{
    /**
     * 查询供应商询价单
     * 
     * @param id 供应商询价单主键
     * @return 供应商询价单
     */
    public ScmInquiriesOut selectScmInquiriesOutById(Long id);

    /**
     * 查询供应商询价单列表
     * 
     * @param scmInquiriesOut 供应商询价单
     * @return 供应商询价单集合
     */
    public List<ScmInquiriesOut> selectScmInquiriesOutList(ScmInquiriesOut scmInquiriesOut);

    /**
     * 新增供应商询价单
     * 
     * @param scmInquiriesOut 供应商询价单
     * @return 结果
     */
    public int insertScmInquiriesOut(ScmInquiriesOut scmInquiriesOut);

    /**
     * 修改供应商询价单
     * 
     * @param scmInquiriesOut 供应商询价单
     * @return 结果
     */
    public int updateScmInquiriesOut(ScmInquiriesOut scmInquiriesOut);

    /**
     * 批量删除供应商询价单
     * 
     * @param ids 需要删除的供应商询价单主键集合
     * @return 结果
     */
    public int deleteScmInquiriesOutByIds(Long[] ids);

    /**
     * 删除供应商询价单信息
     * 
     * @param id 供应商询价单主键
     * @return 结果
     */
    public int deleteScmInquiriesOutById(Long id);

    public int insertScmInquiriesOutFromIn(ScmInquiriesInOut scmInquiriesInOut);

    public void exportExcelByTemplate(HttpServletResponse response, List<ScmInquiriesOut> list, String templateName) throws IOException;
}
